package org.example.ag_notes.dto.article;

import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class articleDto {
    private Integer id;
    private String title;
    private String content;
    private LocalDate date;
    private String tag;
    public articleDto(Integer id, String title, String content, LocalDate date , String tag) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.date = date;
        this.tag = tag;
    }
}
